package com.bishe.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.jws.soap.SOAPBinding;
import java.io.Serializable;

@Data
@ApiModel("用户")
@TableName("user")
@EqualsAndHashCode(callSuper = false)
public class User implements Serializable {

    @TableId(type = IdType.INPUT)
    @ApiModelProperty("主键")
    private String id;


    @ApiModelProperty("用户名")
    private String userName;


    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("年龄")
    private String age;


    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("手机")
    private String phone;


    @ApiModelProperty("姓名")
    private String name;

}
